﻿$(function () {
    $('#mgy').galleryView({
        panel_width: 600, 				//INT - width of gallery panel (in pixels)
        panel_height: 300,
        panel_animation: 'fade', 		//STRING - animation method for panel transitions (crossfade,fade,slide,none)
        panel_scale: 'crop', 			//STRING - cropping option for panel images (crop = scale image and fit to aspect ratio determined by panel_width and panel_height, fit = scale image and preserve original aspect ratio)
        overlay_position: 'bottom',
        transition_speed: 2000, 		//INT - duration of panel/frame transition (in milliseconds)
        transition_interval: 3000, 		//INT - delay between panel/frame transitions (in milliseconds)
        show_panels: true, 				//BOOLEAN - flag to show or hide panel portion of gallery
        show_panel_nav: false, 			//BOOLEAN - flag to show or hide panel navigation buttons
        enable_overlays: false, 			//BOOLEAN - flag to show or hide panel overlays
        show_filmstrip_nav: true, 		//BOOLEAN - flag indicating whether to display navigation buttons
        enable_slideshow: true, 		//BOOLEAN - flag indicating whether to display slideshow play/pause button
        autoplay: false, 			//BOOLEAN - flag to start slideshow on gallery load
        show_captions: true, 			//BOOLEAN - flag to show or hide frame captions	
        frame_height: 40, 				//INT - width of filmstrip frames (in pixels)
        frame_opacity: 0.2, 			//FLOAT - transparency of non-active frames (1.0 = opaque, 0.0 = transparent)
        frame_scale: 'crop', 			//STRING - cropping option for filmstrip images (same as above)
        frame_gap: 7, 					//INT - spacing between frames within filmstrip (in pixels)
        show_infobar: true, 			//BOOLEAN - flag to show or hide infobar
        infobar_opacity: 1				//FLOAT - transparency for info bar
    });
});